/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.encapsulation.encapsulation.impl;
import za.ac.cput.encapsulation.encapsulation.encapsulation;
/**
 *
 * @author Administrator
 */
public class Lecturer implements encapsulation
{
    private String LectName = "Peterson";
    private String FirstName;    
       
    @Override
    public String toString()
    {
        return LectName;
    }
    
    @Override
    public boolean validate()
    {       
            return true;
    }
     
    @Override
    public void setName(String name)
    {
        this.FirstName = name;
    }
    
    @Override
    public String getName()
    {
        return FirstName;
    }
       
    @Override
    public String toMill()
    {
        return String.format( "Lecturer`s name is: %s",LectName);
    }     
    
    @Override
    public String stringChange()
    {
       return String.format("Lecturer`s name is now changed to : %s", LectName);
    }   
}
